Alex Williamson [Mon, 7 May 2007 16:37:16 +0000 (10:37 -0600)]
[IA64] Rewrite ia64 vcpu_guest_context_regs structure
All registers and the rbs are now declared in the structure.
Minimal updates to other parts.
Signed-off-by: Tristan Gingold <tgingold@free.fr>
Alex Williamson [Mon, 7 May 2007 14:56:28 +0000 (08:56 -0600)]
[IA64] Remove machvec_dig.h
The DIG machine vector is no longer overloaded for Xen support.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Mon, 7 May 2007 14:54:56 +0000 (08:54 -0600)]
[IA64] Switch to CONFIG_IA64_GENERIC config and wire in Xen machine vector
This enables the switch to the generic flavor ia64 kernel for the -xen
and -xen0 kernels. -xenU is changed to a CONFIG_IA64_XEN build.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Mon, 7 May 2007 14:52:12 +0000 (08:52 -0600)]
[IA64] Create Xen machine vector
This allows us to easily switch between hardware or software iommu and
simple remapping. The Xen machine vector is only intended for domU
guests at this point.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Mon, 7 May 2007 14:45:15 +0000 (08:45 -0600)]
[IA64] Paravirtualize sba_iommu
This paravirtualizes the iommu driver for HP Integrity systems. This
allows dom0 to use the iommu just as it would on native hardware.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Mon, 7 May 2007 14:41:50 +0000 (08:41 -0600)]
[IA64] Paravirtualize swiotlb
Paravirtualize our copy of swiotlb. A lot of the s/virt_to_phys/virt_to_bus
converstions have already been done in upstream, so I won't special case
them here.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Mon, 7 May 2007 14:32:26 +0000 (08:32 -0600)]
[IA64] Fix PCI front with CONFIG_NUMA
We get a bad pointer dereference if we don't fill something in
here. -1 will give us a global allocation, which is good enough
until we have better NUMA support.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Mon, 7 May 2007 02:34:15 +0000 (20:34 -0600)]
[IA64] Add sparse files for machine vector support
These are necessary to create a Xen machine vector.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Mon, 7 May 2007 02:29:45 +0000 (20:29 -0600)]
[IA64] Add iommu drivers to sparse tree
These will be paravirtualized in upcoming commits. We're copying
lib/swiotlb.c into arch/ia64/xen/swiotlb.c simply for convenience.
Changes should be merged back into lib/swiotlb.c once Xen support
merges into Linux.
Signed-off-by: Alex Williamson <alex.williamson@hp.com>
Alex Williamson [Thu, 3 May 2007 20:38:26 +0000 (14:38 -0600)]
[IA64] Fix vcpu hotplug
When domain is saved and restored, the following message is printed out.
bind_ipi_to_irqhandler()/bind_virq_to_irqhandler() should be called
in process context. Move the call from cpu_init() to __cpu_init() like x86.
BUG: sleeping function called from invalid context at /src1/yamahata/hg/xen/ia64
/my150/compile/test-0/xen-ia64-unstable.hg/linux-2.6.18-xen/mm/slab.c:2901
in_atomic():0, irqs_disabled():1
Call Trace:
[<
a00000010001b190>] show_stack+0x50/0xa0
sp=
e0000000004ff8b0 bsp=
e0000000004f9358
[<
a00000010001b210>] dump_stack+0x30/0x60
sp=
e0000000004ffa80 bsp=
e0000000004f9340
[<
a000000100070f40>] __might_sleep+0x2c0/0x2e0
sp=
e0000000004ffa80 bsp=
e0000000004f9318
[<
a00000010012c230>] __kmalloc+0xb0/0x320
sp=
e0000000004ffa90 bsp=
e0000000004f92e0
[<
a0000001001a98d0>] proc_create+0x110/0x1c0
sp=
e0000000004ffa90 bsp=
e0000000004f9298
[<
a0000001001a9ca0>] proc_mkdir_mode+0x40/0xe0
sp=
e0000000004ffaa0 bsp=
e0000000004f9268
[<
a0000001001a9d70>] proc_mkdir+0x30/0x60
sp=
e0000000004ffab0 bsp=
e0000000004f9240
[<
a0000001000e97e0>] register_handler_proc+0x1a0/0x1e0
sp=
e0000000004ffab0 bsp=
e0000000004f91f0
[<
a0000001000e6420>] setup_irq+0x440/0x4e0
sp=
e0000000004ffb30 bsp=
e0000000004f9198
[<
a0000001000e68c0>] request_irq+0x140/0x1a0
sp=
e0000000004ffb30 bsp=
e0000000004f9150
[<
a0000001003e7a20>] bind_ipi_to_irqhandler+0x260/0x2c0
sp=
e0000000004ffb30 bsp=
e0000000004f90e8
[<
a000000100019780>] xen_register_percpu_irq+0x2c0/0x880
sp=
e0000000004ffb40 bsp=
e0000000004f9098
[<
a00000010001a1f0>] xen_smp_intr_init+0x170/0x1c0
sp=
e0000000004ffb40 bsp=
e0000000004f9070
[<
a00000010003d350>] cpu_init+0x1090/0x10e0
sp=
e0000000004ffb50 bsp=
e0000000004f8fe0
[<
a0000001000607a0>] start_secondary+0xc0/0x520
sp=
e0000000004ffe30 bsp=
e0000000004f8f90
[<
a0000001000105f0>] __end_ivt_text+0x6d0/0x700
sp=
e0000000004ffe30 bsp=
e0000000004f8f90
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 3 May 2007 20:27:26 +0000 (14:27 -0600)]
[IA64] Mask event channel when vcpu boots
Actually XenLinux/ia64 disables interrupts right after SAL OS HAND OFF
and reinitialize all psr so that this won't be an issue.
Just to be make it sure.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 3 May 2007 20:24:21 +0000 (14:24 -0600)]
[IA64] Compilation fix of p2m module
nsec_t is replaced with s64 and update Makefile of expose_p2m.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 3 May 2007 20:21:39 +0000 (14:21 -0600)]
[IA64] Fix time_resume()
Add missing exclusion in time_resume() and steal time accounting
reinitialization after resume.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 3 May 2007 20:14:41 +0000 (14:14 -0600)]
[IA64] Compliation work around for sparsemem
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 3 May 2007 20:10:19 +0000 (14:10 -0600)]
[IA64] Remove unnecessary sparse tree files
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 3 May 2007 20:08:24 +0000 (14:08 -0600)]
[IA64] Sparse tree cleanup
With this patch we can remove linux-2.6-xen-sparse/arch/ia64/dig/setup.c,
linux-2.6-xen-sparse/include/asm-ia64/machvec.h.
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Alex Williamson [Thu, 3 May 2007 20:01:19 +0000 (14:01 -0600)]
[IA64] Always insert entry to VHPT's head, or double TLB miss occurs.
Always insert entry to VHPT head, or TLB miss will occur again although
the translation exists in its collision chain.
Signed-off-by: Zhang xiantao <xiantao.zhang@intel.com>
Signed-off-by: Anthony Xu <anthony.xu@intel.com>
Alex Williamson [Thu, 3 May 2007 19:55:28 +0000 (13:55 -0600)]
[IA64] Optimize some functions
Optmize some functions by changing parameter passing mode from pointer to value.
This can reduce redundant memory access.
Signed-off-by: Xu, Anthony <Anthony.xu@intel.com>
Signed-off-by: Zhang Xin <xing.z.zhang@intel.com>
Alex Williamson [Thu, 3 May 2007 19:36:06 +0000 (13:36 -0600)]
[IA64] Support debug_keys on ia64
This patch adds support for xm debugkeys.
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 10:22:58 +0000 (11:22 +0100)]
xend: Revert changeset 15002. Breaks xend restart in some cases.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 08:33:12 +0000 (09:33 +0100)]
[IA64] Presently pygrub only looks in /efi/redhat/elilo.conf. It
should check for other distributions, plus a couple fallback
locations.
Signed-off-by: Aron Griffis <aron@hp.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 08:32:35 +0000 (09:32 +0100)]
ia64 doesn't use /usr/lib64 on any distribution. When it's present, it's a symlink to /usr/lib
Signed-off-by: Aron Griffis <aron@hp.com>
kfraser@localhost.localdomain [Thu, 3 May 2007 08:29:07 +0000 (09:29 +0100)]
Even though 3.1.0 won't have an implementation for it, reserve
VCPUOP_register_vcpu_info anyway so that we can start talking about
the interface on the guest side.
Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com>
Brendan Cully [Wed, 2 May 2007 16:42:43 +0000 (09:42 -0700)]
Put blktap character device back into /dev/xen.
Changeset 14895:
800aa9f5cec9 accidentally moved it into /var/run/tap
along with the control FIFOs.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
Tom Wilkie [Wed, 2 May 2007 16:14:52 +0000 (17:14 +0100)]
[XEND] Move Vifctl.network('start') earlier in Xend startup so XendNode can find networks when its initialised.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 2 May 2007 15:43:45 +0000 (16:43 +0100)]
Fix the fix for XendPIF
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 2 May 2007 15:33:05 +0000 (16:33 +0100)]
Fix PIFIsPhysical exception when starting Xend
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Tue, 1 May 2007 10:40:40 +0000 (11:40 +0100)]
[XM] Fix some small bugs in XenAPI create code.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Tue, 1 May 2007 10:36:44 +0000 (11:36 +0100)]
[XM] Fix get_single_vm bug
Stops traceback when given a bad domain name
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Wed, 2 May 2007 14:25:02 +0000 (15:25 +0100)]
xend: Interface capability identifiers are statically xen-3.0-*,
rather than being dynamically generated from actual Xen version
major/minor pair.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 2 May 2007 13:53:27 +0000 (14:53 +0100)]
[HVM] Save/restore: fix cset 14995
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 2 May 2007 13:41:51 +0000 (14:41 +0100)]
[HVM] Save/restore: save pending interrupts/events on HVM vcpus
along with the rest of the cpu state. This stops us from dropping
interrupts after the vlapic has recorded them in the ISR but before the
guest has actually taken them.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Keir Fraser [Tue, 1 May 2007 21:24:01 +0000 (22:24 +0100)]
xend: Fix use of PIFIsPhysical (takes no arguments).
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Tue, 1 May 2007 13:17:01 +0000 (14:17 +0100)]
[pv console] Move console information in xenstore to serial/0/.
Support information in console/ in a backwards compatible fashion.
This puts the serial port information for pv domains at the same
location where it is for hvm domains.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 13:01:01 +0000 (14:01 +0100)]
xend: Fix SrvDomain.op_save.
The xen.xend.server.SrvDomain class provides an op_save method for
saving guests. This just calls into the domain_save method on
xen.xend.XenDomain The latter recently gained an extra 'checkpoint'
argument, but the SrvDomain class is not providing this. The attached
patch simply makes the 'checkpoint' arg default to 'False' if not
provided by the caller which makes old calling convention.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:20:55 +0000 (10:20 +0100)]
xend: Ensure 2MB free before creating any domain. All domain creations
have an implicit memory overhead.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:18:11 +0000 (10:18 +0100)]
xend: Fix spurious store changes on rename/migrate
_storeChanged() was incorrectly comparing a string to an sxpr, thus
always firing and causing unnecessary watches to be fired in the
domU.
Signed-off-by: John Levon <john.levon@sun.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:16:26 +0000 (10:16 +0100)]
save/restore: If ENABLE_LOGDIRTY fails, it may be because it is
already active. To find out, attempt to disable and then reenable the
mode.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:15:08 +0000 (10:15 +0100)]
xend: Ensure bootable flag is set in internal xend config for tap
devices.
Original patch by: Jim Fehlig <jfehlig@novell.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Tue, 1 May 2007 09:08:36 +0000 (10:08 +0100)]
linux blkback/blktap: Request/response identifiers are u64, not long.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 30 Apr 2007 14:06:34 +0000 (15:06 +0100)]
Handle ISO_Level3_Shift keysym as AltGr in ioemu/vncfb.
The modern (xkb) way of mapping the AltGr key (113) seems to be using
the ISO_Level3_Shift keysym (0xFE03) instead of the obsolete
Mode_switch keysym (0xFF7E).
This patch let the "keysym to scancode" translator handle the
ISO_Level3_Shift correctly, enabling the use of characters like
~#{[|`\^@]} on a french keyboard.
From: Cedric Schieli <cschieli@gmail.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 28 Apr 2007 08:44:24 +0000 (09:44 +0100)]
vnet: Another build fix for finding Linux build tree and version.
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
Keir Fraser [Sat, 28 Apr 2007 08:37:32 +0000 (09:37 +0100)]
Fix 'sched=sedf' boot.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Sat, 28 Apr 2007 08:28:00 +0000 (09:28 +0100)]
xen: Fix build with recent GCC (4.1+).
Signed-off-by: Keir Fraser <keir@xensource.com>
ewan@localhost.localdomain [Sat, 28 Apr 2007 01:53:23 +0000 (18:53 -0700)]
Bump all API version numbers to 1.0.0.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Jake Wires [Sat, 28 Apr 2007 00:54:06 +0000 (17:54 -0700)]
Ensure blk{tap/back}'s vm_area is not freed twice on error case.
Signed-off-by: Jake Wires <jwires@xensource.com>
kfraser@localhost.localdomain [Fri, 27 Apr 2007 15:27:07 +0000 (16:27 +0100)]
vnet: Fix build of the vnet module.
- correcting KERNEL_SRC ( ./build-linux... )
- typing errors in Makefile.ver
- module-params
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
kfraser@localhost.localdomain [Fri, 27 Apr 2007 15:21:20 +0000 (16:21 +0100)]
Add INIT INFO block to example init.d/xend file.
Without it SuSE (and others?) will start xend before the
network.
Signed-off-by: Robert Valentan <R.Valentan@solid-soft.at>
Steven Hand [Fri, 27 Apr 2007 15:17:44 +0000 (16:17 +0100)]
Handle EOF on xenstored socket.
Suggested by Pavel Kankovsky <peak@argo.troja.mff.cuni.cz>.
Signed-off-by: Steven Hand <steven@xensource.com>
kfraser@localhost.localdomain [Fri, 27 Apr 2007 14:22:34 +0000 (15:22 +0100)]
xend: Auto-balloon a couple megabytes before creating an HVM domain as
Xen will allocate 1MB for shadow memory immediately.
Suggested by Daniel Berrange.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 27 Apr 2007 14:12:48 +0000 (15:12 +0100)]
xend: Don't use -q flag to bootloader if activating text console.
In Xen 3.0.3 series release, if one did 'xm create -c someguest' then
you would be shown the pygrub boot menu, allowing one to pick a
kernel. If you didn't use the -c arg, then it'd just pick the default
kernel.
In Xen 3.0.5 testing, xm is forcing the addition of the '-q' flag
whenever the 'bootargs' parameter is not given in the config file. So
if one does not have 'bootargs' specified, and one uses 'xm create -c
someguest' you never get to see the pygrub boot menu.
This patch fixes 'xm create' so that it does not add the '-q' flag
to the bootloader args, if the '-c' flag is given to xm create. This
makes the default user experiance operate closer to user
expectations.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Tom Wilkie [Fri, 27 Apr 2007 14:09:39 +0000 (15:09 +0100)]
[XEND] make *.get_all_records return dict of ref->record
Also clean up some handling of uuids and refs in xm
signed-of-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Fri, 27 Apr 2007 14:06:55 +0000 (15:06 +0100)]
xen: More 'IS_COMPAT' cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Steven Hand [Fri, 27 Apr 2007 13:45:06 +0000 (14:45 +0100)]
Allow dynamic_min/dynamic_max to (temporarily) be out of sync; in practice
we keep them identical but non-atomically.
Signed-off-by: Steven Hand <steven@xensource.com>
Steven Hand [Fri, 27 Apr 2007 13:16:22 +0000 (14:16 +0100)]
Sanity check changes to memory dynamic/static min/max and ensure we cannot
get ourselves into an inconsistent state.
Signed-off-by: Steven Hand <steven@xensource.com>
Steven Smith [Fri, 27 Apr 2007 12:31:09 +0000 (13:31 +0100)]
Merge.
Steven Smith [Fri, 27 Apr 2007 12:25:58 +0000 (13:25 +0100)]
32 on 64: Don't lock up Xen if you need to do lots of grant operations
in a single batch for a 32-on-64 domain.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Tom Wilkie [Fri, 27 Apr 2007 11:51:14 +0000 (12:51 +0100)]
[XM] Differentiate between VLAN PIFs and normal PIFs in network-show
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Fri, 27 Apr 2007 11:49:17 +0000 (12:49 +0100)]
[XEND] Fix up PIF class, make it work
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Fri, 27 Apr 2007 10:03:47 +0000 (11:03 +0100)]
[XEND] Used shutil.rename to cope with /tmp and /var on different file systems
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Fri, 27 Apr 2007 10:02:47 +0000 (11:02 +0100)]
[XM] Fix typo in XenAPI create code
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tim Deegan [Fri, 27 Apr 2007 09:54:37 +0000 (10:54 +0100)]
Merge
Tim Deegan [Fri, 27 Apr 2007 09:54:00 +0000 (10:54 +0100)]
[HVM] Save/restore: pad save structs up to a multiple of eight bytes.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tom Wilkie [Fri, 27 Apr 2007 09:44:11 +0000 (10:44 +0100)]
[XEND] Start cleanly even with bad xml state files
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tim Deegan [Fri, 27 Apr 2007 09:24:09 +0000 (10:24 +0100)]
[XEN] Replace IS_COMPAT() in the shadow code with pv_32on64_*()
which test for the actual case we're interested in (PV PAE
pagetables disguised as 64bit ones by the compat mm code).
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 17:33:34 +0000 (18:33 +0100)]
hvm: Take care when checking ->is_compat flag now that HVM as well as
PV guests can assert it.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Thu, 26 Apr 2007 16:30:56 +0000 (17:30 +0100)]
Add support for creating networks to xm create XML file
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 15:45:06 +0000 (16:45 +0100)]
hvmloader: Place SMBIOS tables at 0xE9000. Previous location was lower
than nay native system would place them.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Thu, 26 Apr 2007 15:15:08 +0000 (16:15 +0100)]
[XM-TEST] Add test for new network functions
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Thu, 26 Apr 2007 14:48:09 +0000 (15:48 +0100)]
[XM-TEST] Move network_utils.py to lib directory
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Thu, 26 Apr 2007 14:40:35 +0000 (15:40 +0100)]
Add network-del and network-show commands to xm
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Thu, 26 Apr 2007 14:39:30 +0000 (15:39 +0100)]
Add network.destroy() to XenAPI
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 14:42:49 +0000 (15:42 +0100)]
domain builder: Fix sanity check for gzip size.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 14:36:09 +0000 (15:36 +0100)]
acm: Remove unecessary compat shim from do_acm_op().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 14:25:09 +0000 (15:25 +0100)]
acm: Fix 32-bit build with acm enabled.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 10:29:41 +0000 (11:29 +0100)]
blktap: Segments can span multiple clusters with tap:qcow.
In blktap's qcow we need split up read/write requests if the requests
span multiple clusters. However, with our MAX_AIO_REQUESTS define we
assume that there is only ever a single aio request per tapdisk
request and under heavy i/o we can run out of room causing us to
cancel requests.
Dynamically allocate (based on cluster_bits) the various io request
queues the driver maintains.
Signed-off-by: Mark McLoughlin <markmc@redhat.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 10:18:42 +0000 (11:18 +0100)]
hvm ioemu: Fix SCSI initialisation after c/s 14942.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 09:51:49 +0000 (10:51 +0100)]
xen x86/64 compat: Fix size of accesses to trap_bounce.cs in asm.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 08:52:34 +0000 (09:52 +0100)]
Remove non-ASCII chars in man page.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
kfraser@localhost.localdomain [Thu, 26 Apr 2007 08:51:39 +0000 (09:51 +0100)]
xend: Tidy bootloader device constant.
In XendDomainInfo, BOOTLOADER_LOOPBACK_DEVICE is defined to be
'/dev/xvdp'. However, there is still one place in this file that has
'/dev/xvdp' hard-coded.
Signed-off-by: Charles Coffing <ccoffing@novell.com>
Keir Fraser [Wed, 25 Apr 2007 21:56:09 +0000 (22:56 +0100)]
hvm vmx: Mark bootstrap-initialised variables as read-mostly.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 25 Apr 2007 21:29:39 +0000 (22:29 +0100)]
hvm vmx: Another small fix for CPUs with no TPR_SHADOW support.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 25 Apr 2007 21:22:31 +0000 (22:22 +0100)]
xen: Fix maximum_gpfn() hypercall to always return max_gpfn not nr_gpfns.
Fix callers to convert this to nr_gpfns (aka p2m_size) if that's what
they actually need.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Wed, 25 Apr 2007 21:06:13 +0000 (22:06 +0100)]
hvm vmx: Only use TPR_SHADOW feature if supported.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 17:12:03 +0000 (18:12 +0100)]
hvm ioemu: Do not initialise the LSI SCSI interface if no SCSI discs
are attached to the guest.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tom Wilkie [Wed, 25 Apr 2007 15:18:34 +0000 (16:18 +0100)]
[XEND] No need to refresh bridges under new model...
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:17:51 +0000 (16:17 +0100)]
[XEND] Fully implement XenAPI network and PIF classes.
Now support creation of Networks and PIFs. Auto discover current network settings.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:16:21 +0000 (16:16 +0100)]
[XEND] Remove autoplug class signatures, have it all handled in the class now
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:14:20 +0000 (16:14 +0100)]
[XEND] Make existing autoplug classes implement new XendBase
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:12:41 +0000 (16:12 +0100)]
[XM] Fix network-attach when a bridge is specified, add network-new command to create new XenAPI network
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 15:11:20 +0000 (16:11 +0100)]
[XEND] Add more exceptions and error messages
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 14:42:34 +0000 (15:42 +0100)]
Use new instance store to resolve network uuid to bridge name
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 14:39:48 +0000 (15:39 +0100)]
Change how XendStateStore store XML for persistance.
Make it explicity store empty dicts and list.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 14:38:04 +0000 (15:38 +0100)]
Add new base class and instance store for new autoplugged api classes
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 12:55:18 +0000 (13:55 +0100)]
If bridge name hasn't been recorded in XendConfig then try and work it out using Brctl.
This is needed when a VIF is created without specifying a bridge.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
Tom Wilkie [Wed, 25 Apr 2007 12:44:37 +0000 (13:44 +0100)]
Translate network uuid to bridge name and store it in XendConfig when createing a new vif.
Fixes a bug where a new vif gets added to the wrong bridge.
signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 12:50:20 +0000 (13:50 +0100)]
xen: Fix up use of trap_bounce structure.
Fixes suggested by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
Steven Smith [Wed, 25 Apr 2007 11:04:55 +0000 (12:04 +0100)]
hvm save/restore: Use a GUEST_HANDLE_64 rather than an ordinary GUEST_HANDLE
when getting the HVM context so as 32 bit dom0s on a 64 bit hypervisor
do the right thing.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 08:49:18 +0000 (09:49 +0100)]
libxc: Fix xc_translate_foreign_address() to parse non-pae pagetables
correctly.
From: Chris Morrow <cmorrow@yottayotta.com>
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 25 Apr 2007 08:46:43 +0000 (09:46 +0100)]
linux x86/64: Fix supervisor_mode_kernel test to read a single byte.
Spotted by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>